#include<iostream>
using namespace std;
class A {
private:
	int val;
public:
	A() {
		val = 0;
		cout << "Constructed by default, value = " << val << endl;
	}
	A(int val1) {
		val = val1;
		cout << "Constructed using one argument constructor, value = " << val << endl;
	}
	A(const A & c) {
		val = c.val;
		cout << "Constructed using copy constructor, value = " << val << endl;
	}
};
int main()
{
	int t;
	cin >> t;
	for (int i = 0; i < t; i++) {
		int n;
		int p;
		cin >> p;
		if (p == 0) {
			A a1;
		}
		else if (p == 1) {
			cin >> n;
			A a2(n);
		}
		else {
			cin >> n;
			A a3(n);
			A b3(a3);
		}
	}
	return 0;
}